<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ page session="false"%>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Athenaeum : Account Settings</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<jsp:include page="../assets/header.jsp" />

</head>
<body>
	<jsp:include page="../assets/navbar-top.jsp" />
	<div class="page-wrap">
		<div class="container-fluid">
			<div class="row row-wrap">
				<div class="col-md-3">
					<jsp:include page="sidebar.jsp" />
				</div>
				<div class="col-md-9">
					<div class="panel panel-default">
						<div class="panel-heading">
							<h3 class="panel-title">Change Password</h3>
						</div>
						<div class="panel-body">
							<div class="col-md-8">
								<form:form modelAttribute="user" action="account/save"
									method="post" role="form">
									<form:hidden path="id" />
									<div class="form-group">
										<label for="password">Old Password</label>
										<form:input type="password" class="form-control" id="password"
											path="password" placeholder="Current Password" />
									</div>
									<div class="form-group">
										<label for="newPassword">New Password</label>
										<form:input type="password" class="form-control" id="lastName"
											path="lastName" placeholder="New Password" />
									</div>
									<div class="form-group">
										<label for="confirmPassword">Confirm Password</label>
										<form:input type="password" class="form-control" id="email"
											path="firstName" placeholder="Confirm New Password" />
									</div>
									<button type="submit" class="btn btn-primary">Update
										Password</button> &nbsp; &nbsp; <a href="#">I forgot my password</a>
								</form:form>
							</div>
							<div class="col-md-4"></div>
						</div>
					</div>

					<div class="panel panel-danger">
						<div class="panel-heading">
							<h3 class="panel-title">Delete Account</h3>
						</div>
						<div class="panel-body">
							<div class="col-md-8">
								<p>Once you delete your account, there is no going back.
									Please be certain</p>
								<button type="submit" class="btn btn-danger">Delete
									your Account</button>
							</div>
							<div class="col-md-4"></div>
						</div>
					</div>

				</div>
			</div>
		</div>
	</div>
	<jsp:include page="../assets/footer.jsp" />
</body>
</html>

